package com.scst.service;

import com.scst.dto.DishDTO;
import com.scst.dto.DishPageQueryDTO;
import com.scst.entity.Dish;
import com.scst.result.PageResult;
import com.scst.vo.DishVO;
import java.util.List;

public interface DishService {
     void saveWithFlavors(DishDTO dishDTO);

    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);


    DishVO getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDTO dishDTO);
    //条件查询菜品和口味

    List<DishVO> listWithFlavor(Dish dish);
}
